package com.alan.pop.core.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alan.pop.core.dao.IUserDao;
import com.alan.pop.core.pojo.User;
import com.alan.pop.core.service.IUserService;

@Service("userService")  
public class UserServiceImpl implements IUserService{

	@Autowired
    private IUserDao userDao;
	
	public User getUserById(String userId) {
		 return this.userDao.selectByPrimaryKey(userId);  
	}

}
